<%
    HttpSession sen = request.getSession();
    if (sen.isNew()) {
        response.sendRedirect("login.htm");
    } else {
        response.sendRedirect("inicio.htm");
    }
%>